package com.keste.ojt1.view.task9.cpalaparthi.bean;

import oracle.adf.controller.TaskFlowId;

public class NavigationBean {
  private String taskFlowId2 = "/WEB-INF/com/keste/ojt1/view/task9/cpalaparthi/flow/EmpDepTreeTableTask9TF.xml#EmpDepTreeTableTask9TF";
  private String taskFlowId1 = "/WEB-INF/com/keste/ojt1/view/task9/cpalaparthi/flow/EmpDpSearchTask9TF.xml#EmpDpSearchTask9TF";
  private String taskFlowId=taskFlowId1;
  public NavigationBean() {
  }

  public TaskFlowId getDynamicTaskFlowId() {
    return TaskFlowId.parse(taskFlowId);
  }

  public String showMasterDetails() {
    // Add event code here...
    taskFlowId=taskFlowId2;
    return null;
  }

  public String showTreeDetails() {
    // Add event code here...
    taskFlowId=taskFlowId1;
    return null;
  }
}
